package day0217.extend;

public class Sup {

    static {
        // 1
        System.out.println("Sup --> static {}");
    }

    {
        // 2
        System.out.println("Sup --> {}");
    }

    Sup(){
        // 3
        System.out.println("Sup()");
    }
}

class Sub extends Sup {

    static {
        // 4
        System.out.println("Sub --> static {}");
    }

    {
        // 5
        System.out.println("Sub --> {}");
    }

    Sub(){
        // super();
        // 6
        System.out.println("Sub()");
    }
}
